package com.dalianpai.gulimall.order.feign;

import com.dalianpai.gulimall.order.vo.CartItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;


/**
 * @author WGR
 * @create 2020/7/28 -- 0:40
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    @ResponseBody
    @GetMapping("/currentUserCartItems")
    List<CartItem> getCurrentUserCartItems();
}
